﻿***Code for Electoral Studies Upload.
**Variable Creation.
compute diftherm2 = maniptherm-othertherm.
compute primfemXprimincomp = primfem*primincomp.
compute primincompXprimtotopnsmanip = primincomp*primtotopnsmanip.
compute primfemXprimtotopnsmanip = primfem*primtotopnsmanip.
compute primincompXprimtotopnsmanipXprimfem = primincomp*primtotopnsmanip*primfem.
compute difcomp2 = manipcomp-othercomp.

***Table 1.
REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT diftherm2
  /METHOD=ENTER primfem primincomp.

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT diftherm2
  /METHOD=ENTER primfem primincomp primfemXprimincomp .

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT diftherm2
  /METHOD=ENTER primfem primincomp primfemXprimincomp primtotopnsmanip .

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT diftherm2
  /METHOD=ENTER primfem primincomp primfemXprimincomp primtotopnsmanip primfemXprimtotopnsmanip primincompXprimtotopnsmanip.

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT diftherm2
  /METHOD=ENTER primfem primincomp primfemXprimincomp primtotopnsmanip primfemXprimtotopnsmanip primincompXprimtotopnsmanip primincompXprimtotopnsmanipXprimfem.

***Table 2.

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER primfem primincomp 
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER primfem primincomp primfem*primincomp 
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER primfem primincomp primfem*primincomp primtotopnsmanip
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER primfem primincomp primfem*primincomp primtotopnsmanip primtotopnsmanip*primfem primtotopnsmanip*primincomp
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER primfem primincomp primfem*primincomp primtotopnsmanip primtotopnsmanip*primfem primtotopnsmanip*primincomp primtotopnsmanip*primincomp*primfem 
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES manipvote
  /METHOD=ENTER  primfem primincomp primfem*primincomp primtotopnsmanip  difcomp2 
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

***Figure 1.

UNIANOVA difcomp2 BY primfem primincomp 
  /METHOD=SSTYPE(3) 
/PLOT=PROFILE (primfem*primincomp)
  /INTERCEPT=INCLUDE 
  /EMMEANS=TABLES(OVERALL) 
  /EMMEANS=TABLES(primincomp*primfem) 
  /PRINT=DESCRIPTIVE 
  /CRITERIA=ALPHA(.05) 
  /DESIGN=primfem primincomp  primfem*primincomp .


